package org.fujay.langchain4jserver.domain.application.vo;

import org.springframework.util.Assert;

import java.io.Serial;
import java.io.Serializable;

/**
 * 应用用量统计记录ID值对象
 */
public record UsageStatsId(Long value) implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    public UsageStatsId {
        Assert.notNull(value, "UsageStats ID cannot be null");
    }
}
